<!DOCTYPE HTML>
<html>
	<head>
		<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
		<title>CCSCandleStickChart Class Reference</title>
		<meta id="xcode-display" name="xcode-display" content="render"/>
		<link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
		<link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />
		<meta name="generator" content="appledoc 2.1 (build 858)" />
	</head>
	<body>
		<header id="top_header">
			<div id="library" class="hideInXcode">
				<h1><a id="libraryTitle" href="../index.html">Cocoa-Charts </a></h1>
				<a id="developerHome" href="../index.html">limc.cn</a>
			</div>
			
			<div id="title" role="banner">
				<h1 class="hideInXcode">CCSCandleStickChart Class Reference</h1>
			</div>
			<ul id="headerButtons" role="toolbar">
				<li id="toc_button">
					<button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button>
				</li>
				<li id="jumpto_button" role="navigation">
					<select id="jumpTo">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	
	
	
	
	<option value="tasks">Tasks</option>
	
	
	
	
	
	<option value="properties">Properties</option>
	
	<option value="//api/name/crossStarColor">&nbsp;&nbsp;&nbsp;&nbsp;crossStarColor</option>
	
	<option value="//api/name/negativeStickBorderColor">&nbsp;&nbsp;&nbsp;&nbsp;negativeStickBorderColor</option>
	
	<option value="//api/name/negativeStickFillColor">&nbsp;&nbsp;&nbsp;&nbsp;negativeStickFillColor</option>
	
	<option value="//api/name/positiveStickBorderColor">&nbsp;&nbsp;&nbsp;&nbsp;positiveStickBorderColor</option>
	
	<option value="//api/name/positiveStickFillColor">&nbsp;&nbsp;&nbsp;&nbsp;positiveStickFillColor</option>
	
	
	
	
	
	
	<option value="instance_methods">Instance Methods</option>
	
	<option value="//api/name/drawData:">&nbsp;&nbsp;&nbsp;&nbsp;- drawData:</option>
	
	<option value="//api/name/initAxisX">&nbsp;&nbsp;&nbsp;&nbsp;- initAxisX</option>
	
	<option value="//api/name/initAxisY">&nbsp;&nbsp;&nbsp;&nbsp;- initAxisY</option>
	
	<option value="//api/name/initProperty">&nbsp;&nbsp;&nbsp;&nbsp;- initProperty</option>
	
	
	
</select>
				</li>
			</ul>
		</header>
		<nav id="tocContainer" class="isShowingTOC">
			<ul id="toc" role="tree">
				
<li role="treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#overview">Overview</a></span></li>




<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul>
	
</ul></li>





<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#properties">Properties</a></span><ul>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/crossStarColor">crossStarColor</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/negativeStickBorderColor">negativeStickBorderColor</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/negativeStickFillColor">negativeStickFillColor</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/positiveStickBorderColor">positiveStickBorderColor</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/positiveStickFillColor">positiveStickFillColor</a></span></li>
	
</ul></li>





<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/drawData:">drawData:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/initAxisX">initAxisX</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/initAxisY">initAxisY</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/initProperty">initProperty</a></span></li>
	
</ul></li>


			</ul>
		</nav>
		<article>
			<div id="contents" class="isShowingTOC" role="main">
				<a title="CCSCandleStickChart Class Reference" name="top"></a>
				<div class="main-navigation navigation-top">
					<ul>
	<li><a href="../index.html">Index</a></li>
	<li><a href="../hierarchy.html">Hierarchy</a></li>
</ul>
				</div>
				<div id="header">
					<div class="section-header">
						<h1 class="title title-header">CCSCandleStickChart Class Reference</h1>
					</div>		
				</div>
				<div id="container">	
					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<td class="specification-title">Inherits from</td>
	<td class="specification-value"><a href="../Classes/CCSStickChart.html">CCSStickChart</a> : <a href="../Classes/CCSGridChart.html">CCSGridChart</a> : <a href="../Classes/CCSBaseChartView.html">CCSBaseChartView</a> : UIControl</td>
</tr><tr>
	<td class="specification-title">Declared in</td>
	<td class="specification-value">CCSCandleStickChart.h<br />CCSCandleStickChart.m</td>
</tr>
						</tbody></table></div>
					
					
					
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p>CCSCandleStickChart</p>

<p>CCSCandleStickChart is a kind of graph that draw the OHLCs on a <a href="../Classes/CCSGridChart.html">CCSGridChart</a><br/>
if you want display some moving average lines on this graph, please use see<br/>
<a href="../Classes/CCSMACandleStickChart.html">CCSMACandleStickChart</a> for more information</p>

<p>CCSCandleStickChartはCCSGridChartの表面でロウソクを書いたラインチャードです。移動平均線など<br/>
分析線がお使いしたい場合、CCSMACandleStickChartにご参照ください。</p>

<p>CCSCandleStickChart是在CCSGridChart上绘制K线（蜡烛线）的图表、如果需要支持显示均线，请参照<br/>
CCSMACandleStickChart。</p>
					</div>
					
					
					
					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						<h2 class="subtitle subtitle-tasks">Tasks</h2>
						
						
						
						<h3 class="subsubtitle task-title">Other Methods</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/positiveStickBorderColor">&nbsp;&nbsp;positiveStickBorderColor</a></code>
		<span class="tooltip"><p>Price up stick&rsquo;s border color<br/>
値上がりローソクのボーダー色<br/>
阳线的边框颜色</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/positiveStickFillColor">&nbsp;&nbsp;positiveStickFillColor</a></code>
		<span class="tooltip"><p>Price up stick&rsquo;s fill color<br/>
値上がりローソクの色<br/>
阳线的填充颜色</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/negativeStickBorderColor">&nbsp;&nbsp;negativeStickBorderColor</a></code>
		<span class="tooltip"><p>Price down stick&rsquo;s border color<br/>
値下りローソクのボーダー色<br/>
阴线的边框颜色</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/negativeStickFillColor">&nbsp;&nbsp;negativeStickFillColor</a></code>
		<span class="tooltip"><p>Price down stick&rsquo;s fill color<br/>
値下りローソクの色<br/>
阴线的填充颜色</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/crossStarColor">&nbsp;&nbsp;crossStarColor</a></code>
		<span class="tooltip"><p>Price no change stick&rsquo;s color (cross-star,T-like etc.)<br/>
クローススターの色（価格変動無し）<br/>
十字线显示颜色（十字星,一字平线,T形线的情况）</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li>
						</ul>
						
						
						
						<h3 class="subsubtitle task-title">Other Methods</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/initProperty">&ndash;&nbsp;initProperty</a></code>
		<span class="tooltip"><p>@abstract<br/>
Initialize This Object&rsquo;s Properties<br/>
オブジェクトのプロパティを初期化<br/>
初始化当前对象的属性</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/initAxisY">&ndash;&nbsp;initAxisY</a></code>
		<span class="tooltip"><p>Init Y axis degrees<br/>
初期化Y軸の目盛<br/>
初始化Y轴的刻度</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/initAxisX">&ndash;&nbsp;initAxisX</a></code>
		<span class="tooltip"><p>Init X axis degrees<br/>
初期化X軸の目盛<br/>
初始化X轴的刻度</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/drawData:">&ndash;&nbsp;drawData:</a></code>
		<span class="tooltip"><p>Draw sticks to this graph<br/>
スティックデータを使いてスティックを書く<br/>
使用数据绘制柱条</p></span>
	</span>
	
	
</li>
						</ul>
						
					</div>
					
					
					
					
					
					<div class="section section-methods">
						<a title="Properties" name="properties"></a>
						<h2 class="subtitle subtitle-methods">Properties</h2>
						
						<div class="section-method">
	<a name="//api/name/crossStarColor" title="crossStarColor"></a>
	<h3 class="subsubtitle method-title">crossStarColor</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Price no change stick&rsquo;s color (cross-star,T-like etc.)<br/>
クローススターの色（価格変動無し）<br/>
十字线显示颜色（十字星,一字平线,T形线的情况）</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (retain, nonatomic) UIColor *crossStarColor</code></div>

    
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Price no change stick&rsquo;s color (cross-star,T-like etc.)<br/>
クローススターの色（価格変動無し）<br/>
十字线显示颜色（十字星,一字平线,T形线的情况）</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCSCandleStickChart.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/negativeStickBorderColor" title="negativeStickBorderColor"></a>
	<h3 class="subsubtitle method-title">negativeStickBorderColor</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Price down stick&rsquo;s border color<br/>
値下りローソクのボーダー色<br/>
阴线的边框颜色</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (retain, nonatomic) UIColor *negativeStickBorderColor</code></div>

    
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Price down stick&rsquo;s border color<br/>
値下りローソクのボーダー色<br/>
阴线的边框颜色</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCSCandleStickChart.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/negativeStickFillColor" title="negativeStickFillColor"></a>
	<h3 class="subsubtitle method-title">negativeStickFillColor</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Price down stick&rsquo;s fill color<br/>
値下りローソクの色<br/>
阴线的填充颜色</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (retain, nonatomic) UIColor *negativeStickFillColor</code></div>

    
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Price down stick&rsquo;s fill color<br/>
値下りローソクの色<br/>
阴线的填充颜色</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCSCandleStickChart.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/positiveStickBorderColor" title="positiveStickBorderColor"></a>
	<h3 class="subsubtitle method-title">positiveStickBorderColor</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Price up stick&rsquo;s border color<br/>
値上がりローソクのボーダー色<br/>
阳线的边框颜色</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (retain, nonatomic) UIColor *positiveStickBorderColor</code></div>

    
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Price up stick&rsquo;s border color<br/>
値上がりローソクのボーダー色<br/>
阳线的边框颜色</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCSCandleStickChart.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/positiveStickFillColor" title="positiveStickFillColor"></a>
	<h3 class="subsubtitle method-title">positiveStickFillColor</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Price up stick&rsquo;s fill color<br/>
値上がりローソクの色<br/>
阳线的填充颜色</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (retain, nonatomic) UIColor *positiveStickFillColor</code></div>

    
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Price up stick&rsquo;s fill color<br/>
値上がりローソクの色<br/>
阳线的填充颜色</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCSCandleStickChart.h</code><br />
	</div>				
	
	
</div>
						
					</div>
					
					
					
					
					
					<div class="section section-methods">
						<a title="Instance Methods" name="instance_methods"></a>
						<h2 class="subtitle subtitle-methods">Instance Methods</h2>
						
						<div class="section-method">
	<a name="//api/name/drawData:" title="drawData:"></a>
	<h3 class="subsubtitle method-title">drawData:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Draw sticks to this graph<br/>
スティックデータを使いてスティックを書く<br/>
使用数据绘制柱条</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)drawData:(CGRect)<em>rect</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>rect</em></dt>
			<dd><p>the rect of the grid<br/>
グリドのrect<br/>
图表的rect</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCSStickChart.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/initAxisX" title="initAxisX"></a>
	<h3 class="subsubtitle method-title">initAxisX</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Init X axis degrees<br/>
初期化X軸の目盛<br/>
初始化X轴的刻度</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)initAxisX</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCSStickChart.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/initAxisY" title="initAxisY"></a>
	<h3 class="subsubtitle method-title">initAxisY</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Init Y axis degrees<br/>
初期化Y軸の目盛<br/>
初始化Y轴的刻度</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)initAxisY</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCSStickChart.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/initProperty" title="initProperty"></a>
	<h3 class="subsubtitle method-title">initProperty</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>@abstract<br/>
Initialize This Object&rsquo;s Properties<br/>
オブジェクトのプロパティを初期化<br/>
初始化当前对象的属性</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)initProperty</code></div>

    
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>@abstract<br/>
Initialize This Object&rsquo;s Properties<br/>
オブジェクトのプロパティを初期化<br/>
初始化当前对象的属性</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCSBaseChartView.h</code><br />
	</div>				
	
	
</div>
						
					</div>
					
					
				</div>
				<div class="main-navigation navigation-bottom">
					<ul>
	<li><a href="../index.html">Index</a></li>
	<li><a href="../hierarchy.html">Hierarchy</a></li>
</ul>
				</div>
				<div id="footer">
					<hr />
					<div class="footer-copyright">
						<p><span class="copyright">&copy; 2013 limc.cn. All rights reserved. (Last updated: 2013-05-22)</span><br />
						
						<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.1 (build 858)</a>.</span></p>
						
					</div>
				</div>
			</div>
		</article>
		<script type="text/javascript">
			function jumpToChange()
			{
				window.location.hash = this.options[this.selectedIndex].value;
			}
			
			function toggleTOC()
			{
				var contents = document.getElementById('contents');
				var tocContainer = document.getElementById('tocContainer');
				
				if (this.getAttribute('class') == 'open')
				{
					this.setAttribute('class', '');
					contents.setAttribute('class', '');
					tocContainer.setAttribute('class', '');
					
					window.name = "hideTOC";
				}
				else
				{
					this.setAttribute('class', 'open');
					contents.setAttribute('class', 'isShowingTOC');
					tocContainer.setAttribute('class', 'isShowingTOC');
					
					window.name = "";
				}
				return false;
			}
			
			function toggleTOCEntryChildren(e)
			{
				e.stopPropagation();
				var currentClass = this.getAttribute('class');
				if (currentClass == 'children') {
					this.setAttribute('class', 'children open');
				}
				else if (currentClass == 'children open') {
					this.setAttribute('class', 'children');
				}
				return false;
			}
			
			function tocEntryClick(e)
			{
				e.stopPropagation();
				return true;
			}
			
			function init()
			{
				var selectElement = document.getElementById('jumpTo');
				selectElement.addEventListener('change', jumpToChange, false);
				
				var tocButton = document.getElementById('table_of_contents');
				tocButton.addEventListener('click', toggleTOC, false);
				
				var taskTreeItem = document.getElementById('task_treeitem');
				if (taskTreeItem.getElementsByTagName('li').length > 0)
				{
					taskTreeItem.setAttribute('class', 'children');
					taskTreeItem.firstChild.setAttribute('class', 'disclosure');
				}
				
				var tocList = document.getElementById('toc');
				
				var tocEntries = tocList.getElementsByTagName('li');
				for (var i = 0; i < tocEntries.length; i++) {
					tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false);
				}
				
				var tocLinks = tocList.getElementsByTagName('a');
				for (var i = 0; i < tocLinks.length; i++) {
					tocLinks[i].addEventListener('click', tocEntryClick, false);
				}
				
				if (window.name == "hideTOC") {
					toggleTOC.call(tocButton);
				}
			}
			
			window.onload = init;
			
			// If showing in Xcode, hide the TOC and Header
			if (navigator.userAgent.match(/xcode/i)) {
				document.getElementById("contents").className = "hideInXcode"
				document.getElementById("tocContainer").className = "hideInXcode"
				document.getElementById("top_header").className = "hideInXcode"
			}
			
		</script>
	</body>
</html>